/**
 * Copyright 2014 <a href="mailto:dmitry.weirdo@gmail.com">Dmitriy Popov</a>.
 $HeadURL: http://datadir.googlecode.com/svn/trunk/datadirSrv/src/main/java/ru/datadir/model/section/SectionService.java $
 $Author: dmitry.weirdo@gmail.com $
 $Revision: 59 $
 $Date:: 2014-10-13 20:17:09 #$
 */
package ru.datadir.model.section;

import javax.ejb.Local;
import java.util.List;

@Local
public interface SectionService
{
	List<Section> getSections(Long parentSectionId);

	List<Section> getSections(Long parentSectionId, String name);

	Long createSection(Section section);

	void updateSection(Section section);

	void deleteSection(Long sectionId);
}